﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenWeb.Dal;
using OpenWeb.Dal.Infrastructure;
using OpenWeb.Dal.Interfaces;

namespace OpenWeb.Dal.Services
{
    public abstract class ServiceBase<T> : LogManager, IService<T>  where T : class
    {
        public T GetSingle(System.Linq.Expressions.Expression<Func<T, bool>> whereCondition)
        {
            throw new NotImplementedException();
        }

        public void Add(T entity)
        {
            throw new NotImplementedException();
        }

        public void Attach(T entity)
        {
          throw new NotImplementedException();
        }

        public void Delete(T entity)
        {
            throw new NotImplementedException();
        }

        public void Update(T entity)
        {
            throw new NotImplementedException();
        }

        public IList<T> GetAll(System.Linq.Expressions.Expression<Func<T, bool>> whereCondition)
        {
            throw new NotImplementedException();
        }

        public IList<T> GetAll()
        {
            throw new NotImplementedException();
        }

        public IQueryable<T> Query(System.Linq.Expressions.Expression<Func<T, bool>> whereCondition)
        {
            throw new NotImplementedException();
        }

        public long Count(System.Linq.Expressions.Expression<Func<T, bool>> whereCondition)
        {
            throw new NotImplementedException();
        }

        public long Count()
        {
            throw new NotImplementedException();
        }


        public IQueryable<T> GetQueryable()
        {
          throw new NotImplementedException();
        }

        public System.Data.Objects.IObjectSet<T> ObjectSet
        {
          get { throw new NotImplementedException(); }
        }

        public System.Data.Entity.IDbSet<T> DbSet
        {
          get { throw new NotImplementedException(); }
        }
    }
}
